package cn.shengchao.examstar.knowledge.infrastructure.dao;

import cn.shengchao.examstar.knowledge.domain.entity.KnowledgePoint;
import cn.shengchao.examstar.knowledge.infrastructure.dao.po.TKnowledgePointTree;
import cn.shengchao.examstar.rpc.knowledge.req.KnowledgeReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowledgePointTreeMapper extends BaseMapper<TKnowledgePointTree> {
    List<KnowledgePoint> getKnowledgePointByQuestionLeafList(@Param("knowledgeReq") KnowledgeReq knowledgeReq);

    List<KnowledgePoint> getKnowledgePointByLeafList(@Param("knowledgeReq")KnowledgeReq knowledgeReq);
}
